package com.huatai.exchange.deal;

import com.faneui.common.exception.BusinessException;
import com.faneui.common.utils.CloseUtils;
import com.faneui.common.utils.IOUtils;
import com.faneui.common.utils.ListUtils;
import com.faneui.dbf.utils.DBFUtils;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.huatai.exchange.facade.Contents;
import com.huatai.exchange.integration.base.service.FileOperateService;
import com.huatai.exchange.integration.vba.service.FundInfoVoService;
import com.huatai.exchange.service.ExcFileLoadInfoService;
import com.huatai.exchange.service.ExcFileLoadRecordService;
import com.linuxense.javadbf.DBFField;
import de.schlichtherle.util.zip.ZipEntry;
import de.schlichtherle.util.zip.ZipOutputStream;
import jcifs.smb.SmbFile;
import jcifs.smb.SmbFileInputStream;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;

import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.List;
import java.util.Map;

public abstract class AbstractFileCreateDealServiceImpl {

    protected static final Logger logger = LoggerFactory.getLogger(FileCreateDealService.class);

    @Value("${tmp_file_path}")
    protected String tmpFile;

    @Autowired
    protected FundInfoVoService fundInfoVoService;

    @Autowired
    protected FileOperateService fileOperateService;

    @Autowired
    protected ExcFileLoadRecordService excFileLoadRecordService;

    @Autowired
    protected ExcFileLoadInfoService excFileLoadInfoService;

}
